package com.open.recruitment.recruit.dao;


import com.open.capacity.common.model.SysRecruit;
import com.open.capacity.common.model.SysUser;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;

import java.util.List;
import java.util.Map;

@Mapper
public interface RecruitDao {
    /**
     * 添加招聘信息
     * @param sysRecruit
     * @return
     */
    int addRecruitInformation(SysRecruit sysRecruit);

    int updateRecruitInformation(SysRecruit sysRecruit);

    int deleteRecruitInformation(long id);

//    List<SysRecruit> selectAll(Map<String,Object> map);

    List<SysRecruit> isHaveCompany(String companyName);

    List<SysRecruit> selectCompanyName(Map<String, Object> map);
}
